//
// Created by vista on 2018/1/6.
//

#include <vector>
#include <cstdlib>
#include <algorithm>
#include <string>
#include <iostream>
#include <stack>
#include <set>
using namespace std;

class Solution {
public:
    vector<int> findSubstring(string s, vector<string>& words) {
        vector<int> indices;



        return indices;
    }
};

int main(){

    Solution solution;

    __uint64_t timebegin =  clock_gettime_nsec_np(CLOCK_REALTIME);

    vector<string> words;
    words.emplace_back("foo");
    words.emplace_back("bar");

    auto sss = solution.findSubstring("barfoothefoobarman",words) ;

    for (const auto &i : sss) {
        std::cout << i << ",";
    }
    std::cout << endl;

    __uint64_t timeend =  clock_gettime_nsec_np(CLOCK_REALTIME);

    cout << (timeend - timebegin) / 1000000.0 << endl;

    return 0;

}